]> dgit.raspbian.org Git - ostree.git/commit
tests: Fix flaky kola destructive tests
authorJoseph Marrero Corchado <jmarrero@redhat.com>
Wed, 5 Aug 2026 23:49:42 +0000 (19:49 -0400)
committerJoseph Marrero Corchado <jmarrero@redhat.com>
Wed, 5 Aug 2026 23:49:42 +0000 (19:49 -0400)
commit0efe2e8e131834f760dd8798a073058e14adcd74
tree2533e3bec3155c404114e05c583e700e6b51662d
parent1b36550d4054c4246f207c8e9cfb452338fe76f3
tests: Fix flaky kola destructive tests

The kargs-proc-cmdline-quoted test was parsing `ostree admin status`
text output with a sed regex that assumes the line ends with the
deployment serial.  Status annotations like "(pending)" break this;
just reuse $host_commit from libinsttest.sh instead.

For soft-reboot, make the initramfs regeneration check non-fatal
since dracut can fail inside bwrap in CI VMs.  The kargs-based
kernel state check still covers the same rejection path.
tests/kolainst/destructive/kargs-proc-cmdline-quoted.sh
tests/kolainst/destructive/soft-reboot.sh